Re: - Mailing list pgsql-interfaces

From Herouth Maoz
Subject Re:
Date
Msg-id l03130300b381a2255465@[147.233.159.109]
Whole thread Raw
In response to ...  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Responses Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
Re[2]: drop table 'text'  (Piotr Stelmaszyk <kelman@fanthom.math.put.poznan.pl>)
List pgsql-interfaces
At 18:49 +0300 on 07/06/1999, Piotr Stelmaszyk wrote:


> what may be the problem? what does it mean "$1"? i don't have
> any function arguments.
>
> any ideas? thanx.

The problem is that the parameter passed to "drop table" should not be a
string but a table. You don't write
  DROP TABLE 'my_table',

but
  DROP TABLE my_table.

So you are passing it the wrong kind of object. You should pass a table,
not the name of a table. There is a difference.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma




pgsql-interfaces by date:

Previous
From: Piotr Stelmaszyk
Date:
Subject: ...
Next
From: "Andre Carvalho"
Date:
Subject: pgTcl problem...